import Mock from 'mockjs';


Mock.mock('/list',{
    "list|4":[{
        "id":"@id",
        "txt":"@ctitle(2)",
        "type":"@cword(2)",
        "children|20-40":[{
            "id":"@id",
            "txt":"@ctitle(2,5)",
            "con":"@cparagraph()",
            "src":"@image(100x100,@color)",
            "price|100-1000":0,
            "flag":false,
            "img|4-6":["@image(100x100,@color)",],
            "type|1":['鲜花','治愈','音乐'],
        }]
    }]
})